#include <avr/io.h>

void AddToByteArray(char *firstArray, uint8_t firstArrayLength, char *destinationArray)
{
	uint8_t i = 0;
	while (i != firstArrayLength)
	{
		destinationArray[i] = firstArray[i];
		i++;
	}
}

void ConcatByteArray(char *firstArray, uint8_t firstArrayLength, char *secondArray, uint8_t secondArrayLength, char *destinationArray, uint8_t offset)
{
	uint8_t i = offset;
	uint8_t j = 0;
	while (i != firstArrayLength)
	{
		destinationArray[i] = firstArray[i];
		i++;
	}
	while (j != secondArrayLength)
	{
		destinationArray[i+j] = secondArray[j];
		j++;
	}
}